﻿using System;

namespace Microsoft.Xna.Framework.Graphics
{
	/// <summary>
	/// Contains event data.
	/// </summary>
	public sealed class ResourceCreatedEventArgs : EventArgs
	{
		internal object resource;

		/// <summary>
		/// The object raising the event.
		/// </summary>
		public object Resource { get { return resource; } }

		/// <summary>
		/// 
		/// </summary>
		/// <param name="resource"></param>
		internal ResourceCreatedEventArgs(object resource)
		{
			this.resource = resource;
		}
	}
}
